package com.smart.framework.bean;

import java.util.Map;

import com.smart.framework.util.CastUtil;

/**
 * 封装请求参数
 * 
 * @author CrazyShaQiuShi
 *
 */
public class Param {
	private Map<String, Object> paramMap;

	public Param(Map<String, Object> paramMap) {
		this.paramMap = paramMap;
	}

	public long getLong(String name) {
		return CastUtil.castLong(paramMap.get(name));
	}

	public Map<String, Object> getMap() {
		return paramMap;
	}

}
